package com;

public class App 
{
    public static void main( String[] args )
    {
        ITicket ticket = TicketFactory.queryTicket("北京","上海");
        ticket.showInfo("软卧");

        ticket = TicketFactory.queryTicket("北京","上海");
        ticket.showInfo("软卧");
    }
}
